/**
 *  @file SDLImageRepresentation.h
 *
 *  @date 25-nov-2009
 *  @author Ives van der Flaas
 */

#ifndef SDLIMAGEREPRESENTATION_H_
#define SDLIMAGEREPRESENTATION_H_

#include "SDLStaticRepresentation.h"
#include "SDLWindow.h"
#include "SDLColor.h"
#include <string>

namespace si_sdl
{
/**
 * A representation making use of SDL consisting of a static image.
 */
class SDLImageRepresentation: public si_sdl::SDLStaticRepresentation
{
public:
	/**
	 * Loads an image with colorkey transparancy...
	 * @param filename Filename of the image that'll be loaded
	 * @param key Colorkey for the image
	 * @return
	 */
	SDLImageRepresentation(std::string filename, Color key);

	/**
	 * Loads an image with potential png transparancy
	 * @param filename
	 * @return
	 */
	SDLImageRepresentation(std::string filename);
	virtual ~SDLImageRepresentation();
};

}

#endif /* SDLIMAGEREPRESENTATION_H_ */
